//
//  TGMastMoreCollectionViewCell.m
//  WanCaiC8
//
//  Created by QiuXun on 2019/1/23.
//  Copyright © 2019 tangang. All rights reserved.
//

#import "TGMastMoreCollectionViewCell.h"

@implementation TGMastMoreCollectionViewCell
- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        [self setupUI];
    }
    return self;
}

-(void)setupUI{
    
    UIView *view = [[UIView alloc] init];
    view.backgroundColor = [UIColor groupTableViewBackgroundColor];
    [self.contentView addSubview:view];
    
    [view mas_makeConstraints:^(MASConstraintMaker *make) {
        
        make.edges.equalTo(self.contentView).insets(UIEdgeInsetsMake(5, 10, 5, 10));
    }];
    
    UILabel *label = [UILabel tg_labelWithText:@"查看更多高手排行" fontSize:13 color:DEFAULTTEXTBLACKCOLOR];
    label.textAlignment = NSTextAlignmentCenter;
    [view addSubview:label];
    [label mas_makeConstraints:^(MASConstraintMaker *make) {
        make.center.equalTo(view);
    }];
    
    
}
@end
